/**  
* @Title: MtonsShortVideoVO.java
* @Package cn.net.mtons.weixin.rcv.vo
* @Description: TODO
* @author ma jinjian  
* @date 2016年2月8日 下午4:26:10
* @version V1.0  
*/ 
package cn.net.mtons.weixin.rcv.vo;

import cn.net.mtons.weixin.MtonsBasicVO;
import cn.net.mtons.weixin.utils.MtonsMessageUtil;

/**
 * @ClassName: MtonsShortVideoVO
 * @Description: TODO
 * @author ma jinjian
 * @date 2016年2月8日 下午4:26:10
 *
 */
public class MtonsShortVideoVO extends MtonsBasicVO {

	private String msgType;
	
	private String mediaId;
	
	private String thumbMediaId;
	
	private String msgId;

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	public String getThumbMediaId() {
		return thumbMediaId;
	}

	public void setThumbMediaId(String thumbMediaId) {
		this.thumbMediaId = thumbMediaId;
	}

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}

	@Override
	public String toXml() {
		MtonsMessageUtil util = new MtonsMessageUtil(super.toXml());
		util.addData("MsgType", "shortvideo");
		util.addData("MediaId", this.getMediaId());
		util.addData("ThumbMediaId", this.getThumbMediaId());
		util.addData("MsgId", this.getMsgId());
		util.surroundWith("xml");
		return util.toString();
	}
}
